package lobysocket
{
	import flash.events.Event;
	import lobystate.StateManager;
	public class SocketRequestState
	{
		public var lastFlag:Boolean;
		public var lastSuccData:Object = new Object();
		protected var showError:Boolean;
		protected var timeoutCounter:int = 0;
		protected var timeoutCounterMax:int = 3;
		// construct
		public function SocketRequestState()
		{
			lastFlag = false;
			showError = true;
		}
		
		public function clearCounter():void
		{
			timeoutCounter = 0;
		}
		// handler
		public function send(obj:SocketManager):void
		{
		}
		public function receive(obj:Object):Boolean
		{			
			return true;
		}
		
		public function fault(event:Event):void
		{
			
		}
	}
}